public class SubFactory : IFactory
{
    public IOperation CreateOperation()
    {
        return new SubOperation();
    }
}